extends Node

var AttributeModifierConfig = preload("res://Scripts/Configs/AttributeModifierConfig.gd").AttributeModifierConfig
var WeaponTypeConfig = preload("res://Scripts/Configs/WeaponTypeConfig.gd").WeaponTypeConfig
var BattleConfig = preload("res://Scripts/Configs/BattleConfig.gd").BattleConfig
var CareerConfig = preload("res://Scripts/Configs/CareerConfig.gd").CareerConfig
var CustomClassesConfig = preload("res://Scripts/Configs/CustomClassesConfig.gd").CustomClassesConfig
var ItemConfig = preload("res://Scripts/Configs/ItemConfig.gd").ItemConfig
var ResourcePreloadConfig = preload("res://Scripts/Configs/ResourcePreloadConfig.gd").ResourcePreloadConfig
var CharacterConfig = preload("res://Scripts/Configs/CharacterConfig.gd").CharacterConfig
var SpellConfig = preload("res://Scripts/Configs/SpellConfig.gd").SpellConfig

func _ready():
	ConfigHelper.loadConfig("AttributeModifierConfig.csv", AttributeModifierConfig)
	ConfigHelper.loadConfig("WeaponTypeConfig.csv", WeaponTypeConfig)
	ConfigHelper.loadConfig("BattleConfig.csv", BattleConfig)
	ConfigHelper.loadConfig("CareerConfig.csv", CareerConfig)
	ConfigHelper.loadConfig("CustomClassesConfig.csv", CustomClassesConfig)
	ConfigHelper.loadConfig("ItemConfig.csv", ItemConfig)
	ConfigHelper.loadConfig("ResourcePreloadConfig.csv", ResourcePreloadConfig)
	ConfigHelper.loadConfig("CharacterConfig.csv", CharacterConfig)
	ConfigHelper.loadConfig("SpellConfig.csv", SpellConfig)
